package com.code.AZPlan.model.bo;

import com.code.AZPlan.model.po.EntryMoneyFlow;
import com.code.AZPlan.model.po.ExchangeFlow;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

@ApiModel("兑换业务对象")
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class ExchangeFlowBO implements Serializable {

    private static final long serialVersionUID = -2827589150120397015L;

    @ApiModelProperty(value = "用户账号", example = "XXXXXX")
    private String userAccount;

    @ApiModelProperty(value = "当前页", example = "0")
    private Integer page;

    @ApiModelProperty(value = "每页的大小", example = "10")
    private Integer pageSize;

    @ApiModelProperty(value = "总的记录数", example = "0")
    private Long total;

    @ApiModelProperty(value = "兑换流水列表", example = "1")
    private List<ExchangeFlow> exchangeFlowList;
}
